﻿using System;
using System.Collections.Generic;
using System.Text;

namespace EShop.Model
{
    public class MemberLevelInfo
    {
        public MemberLevelInfo(string _LevelID, string _LevelName, decimal _LevelDiscount)
        {
            this._LevelID = _LevelID;
            this._LevelName = _LevelName;
            this._LevelDiscount = _LevelDiscount;
        }

        private string _LevelID;
        /// <summary>
        /// 等级ID
        /// </summary>
        public string LevelID
        {
            get { return _LevelID; }
            set { _LevelID = value; }
        }

        private string _LevelName;
        /// <summary>
        /// 等级名称
        /// </summary>
        public string LevelName
        {
            get { return _LevelName; }
            set { _LevelName = value; }
        }

        private decimal _LevelDiscount;
        /// <summary>
        /// 等级折扣
        /// </summary>
        public decimal LevelDiscount
        {
            get { return _LevelDiscount; }
            set { _LevelDiscount = value; }
        }

        public override string ToString()
        {
            return this._LevelName;
        }

    }
}
